home *** CD-ROM | disk | FTP | other *** search
/ World of Education / World of Education.iso / world_d / dospel37.zip / SPEL_371.ZIP / READ-UK.DOC < prev    next >
Text File  |  1993-02-06  |  29KB  |  753 lines

  1. New New !!!!
  2.  
  3. Some people have difficulties to get the latest version of DOSPELL. If you
  4. send to me an envelop with your address on it, a formatted floppy and some
  5. money of an exchangeable currency, value US$ 6,-,  DM 9,- or Dutch Fl 10,0
  6. (for Dutch stamps and exchange costs) I could send you the floppy back in
  7. your own envelop under the following conditions:
  8.  
  9. I will do so if I have time (likely), I am not one month from home (unlikely)
  10. My girlfriend does not throw the envelop away (Who knows), I have a computer
  11. and still like computing (?) and still living on the same address.
  12.  
  13. As already indicated it is possible that you will never see your floppy
  14. again ! I will not accept any reliability for that.
  15.  
  16.  
  17. 28 September 1992       Han Kleijn
  18.                         Geldersestraat 66
  19.                         3011 MP Rotterdam
  20.                         The Netherlands
  21.  
  22.  
  23.  
  24.  
  25. DOSPELL III Documentation file, September 1992. UK version. Read the
  26. clauses in README.DOC
  27.  
  28. DOSPELL is released in two versions:
  29.  
  30. Version I   (1.09) For computers without hard disk. Maximum capacity
  31.                    dictionary 18.000 words.
  32.         III (3.XX) For computers with hard disk. Maximum capacity
  33.                    dictionary 400.000 words.
  34.  
  35.  
  36.  
  37.  
  38. Introduction
  39. ------------
  40.  
  41. DOSPELL is an additional spelling checker for almost any editor or word 
  42. processor. After installing the program resident it can check the screen
  43. contents. Misspellings on the screen will be highlighted. With the hot key 
  44. combination alt-@ the program will give suggestion for the word at the cursor. 
  45. After selecting one of the suggestions, DOSPELL will write it to the keyboard 
  46. buffer to replace the misspelled word. DOSPELL works with the standard video
  47. cards MDA HGC CGA EGA VGA. In the resident mode DOSPELL uses about 118 Kbyte
  48. memory.
  49.  
  50. DOSPELL can also be used for a spellings check of ASCII files.
  51.  
  52. DOSPELL is released with an UK, Dutch and German dictionary. It recognises the 
  53. difference between capitalised and small letters and can handle special 
  54. characters like ê or ö. For example the word netherlands is recognised as wrong
  55. and the suggestion Netherlands will be given.
  56.  
  57.  
  58. Everybody is invited to send comments and or additions to the dictionaries to
  59. the following address:
  60.  
  61.  
  62.      J.A.M. Kleijn
  63.      Geldersestraat 66
  64.      3011 MP Rotterdam.
  65.  
  66.  
  67. 10, 20, 100 or more words are welcome. Send your PERS_DIC. !!
  68.  
  69. ----------------------------------------------------------------------------
  70.  
  71. Contents:       0   Command glossary.
  72.                 1   Use.
  73.                 1.1 Spelling check ASCII files.
  74.                 1.2 Resident use of DOSPELL in combination with other
  75.                     programmes.
  76.                 1.3 Dictionary change.
  77.                 2   Additional information.
  78.                 2.1 Type of dictionary.
  79.                 2.2 Making a dictionary.
  80.                 2.3 Technical info.
  81.  
  82.  
  83.  
  84. -----------------------------------------------------------------------------
  85.                 0   Command glossary.
  86. -----------------------------------------------------------------------------
  87.  
  88. Basic commands:
  89.  
  90.  
  91.   FUNCTION          |  COMMAND   |     FUNCTIONAL KEYS
  92. --------------------|------------|--------------------------------------------
  93. - Resident mode:    |  SPEL r    |     ALT-1 = Test screen contents.
  94.                     |            |     ALT-2 = Give suggestions for word at
  95.                     |            |             cursor. If new word is selected,
  96.                     |            |             write word to keyboard buffer.
  97.                     |            |     ALT-0 = Add word at cursor to personal
  98.                     |            |            dictionary PERS_DIC
  99.                     |            |
  100.                     |            |     I = Ignore, treat the word spelling as
  101.                     |            |         correct throughout the whole text.
  102.                     |            |     M = More, display next proposals.
  103. --------------------|------------|--------------------------------------------
  104. - Normal mode       | SPEL FILE  |     A = Add word to dictionary.
  105.  (check ASCII files)|            |     I = Ignore word.
  106.                     |            |     M = More, show more words.
  107.                     |            |     E = Enter manual word.
  108.                     |            | Other = Bypass this word only one time.
  109. --------------------|------------|--------------------------------------------
  110. - Info screen       |  SPEL  ?   |
  111. --------------------|------------|--------------------------------------------
  112. - Menu              |  SPEL      |
  113.  
  114.  
  115. Remark: The dictionary to use, can be defined in the command line. For
  116.         example: SPEL R NL or SPEL FILE SNEW NL.
  117.  
  118.  
  119. -----------------------------------------------------------------------------
  120.                 1   Use.
  121. -----------------------------------------------------------------------------
  122.  
  123. DOSPELL can be used in the following two modes:
  124.  
  125.             1) Spellings check of ASCII files.
  126.             2) Resident in combination with other programmes like a
  127.                spreadsheet, editor, word processor or database.
  128.  
  129.  
  130. "Preparation"
  131.  
  132. If DOSPELL is used in an other directory then where the dictionaries are
  133. located, first the path should be defined. Enter the following command in
  134. DOS or put it in your AUTOEXEC.BAT file.
  135.  
  136.   
  137.   Example path setting:    SET DOSPELL=C:\TEXT\DOSPELL
  138.  
  139.  
  140.  
  141.  
  142.  
  143. -----------------------------------------------------------------------------
  144.                 1.1 Spelling check ASCII files.
  145. -----------------------------------------------------------------------------
  146.  
  147.  
  148. The check an ASCII file the following command lines are possible:
  149.  
  150.  
  151.       SPEL FILENAME                        (Result in file SNEW.)
  152. or    SPEL FILENAME NEWFILENAME            (Result in NEWFILENAME.)
  153. or    SPEL FILENAME NEWFILENAME NL         (Use Dutch dictionary.)
  154.  
  155.  
  156.  
  157. The filename will be checked on spelling and the corrected result will be
  158. written to a new file.
  159.  
  160. If DOSPELL does not find the word in the dictionary is will give possible
  161. replacements inside a window at the top of a screen. This window gives the
  162. following features:
  163.  
  164.  
  165.           1,2,3,4,... = Place- proposal 1,2,3,4... in the text.
  166.                     M = More, display next proposals.
  167.                     I = Ignore, treat the word spelling as correct
  168.                         throughout the whole text. Do not change anything.
  169.                     E = Enter manually new word;
  170.                     A = Add word to dictionary (PERS_DIC).
  171.            Other keys = Ignore the word only this time.
  172.  
  173.  
  174.  
  175. DOSPELL uses the following two algorithms to make proposals:
  176.  
  177.  
  178. 1) All Words with a length of 5 or less letters, which differ only one letter.
  179.    For example the following mistakes of the word auto will result in a 
  180.    proposal "auto":
  181.  
  182.  
  183.         Xauto auxto autxo autox   { Axuto      not  }
  184.         auo aut                   { uto ato    not }
  185.         Xuto  auxo autx           { axto       not }
  186.  
  187.  
  188.  
  189. The exceptions are bypassed in version II and III due to the long search time.
  190.  
  191.  
  192.  
  193. 2) For words with a length of 5 or more, DOSPELL makes a sound alike from the 
  194. first three vowels and the succeeding letter. This is very effective 
  195. for spelling mistakes with words with two tt, ss ... ect.
  196.  
  197. Examples:
  198.  
  199.    Word             Sound-alike
  200.    ------------      -----------
  201.    necessary      ==>  ecesar
  202.    necesary       ==>  ecesar
  203.    accessible     ==>  acesib
  204.    acesible       ==>  acesib
  205.    accessibly     ==>  acesib
  206.    English        ==>  Enisc
  207.    Englisch       ==>  Enisc
  208.    automaat       ==>  auomat
  209.    automatish     ==>  auomat
  210.    automatiseren  ==>  auomat
  211.    vergeten       ==>  ereten
  212.    perpeten       ==>  ereten
  213.    contract       ==>  onac
  214.    kontract       ==>  onac
  215.  
  216.  
  217. The Pascal routines used in the program are included in chapter 2.2 (
  218. technical info)
  219.  
  220.  
  221.  
  222. -----------------------------------------------------------------------------
  223.           1.2 Resident use of DOSPELL in combination with other programmes'.
  224. -----------------------------------------------------------------------------
  225.  
  226. Use
  227. ---
  228.  
  229. To load DOSPELL resident in the memory, the following DOS commands are
  230. possible:
  231.  
  232.                  SPEL r
  233.    or            SPEL R            (gives key-click at every key hitting)
  234.    or            SPEL R COLORNR    (Other attention colour to. See table)
  235.    or            SPEL R COLORNR KEY1 KEY2 KEY3
  236.    or            SPEL R COLORNR KEY1 KEY2 KEY3 Language
  237.    or            SPEL R COLORNR KEY1 KEY2 KEY3 DES1 DES2 DES3 LANGUAGE.
  238.    or            SPEL R Language
  239.  
  240. DES1    means description KEY1, fore example F1.
  241.  
  242. This will take around 118 kbyte and should be done prior to the use of the
  243. second program. The key combination ALT and 1 or ALT ! makes DOSPELL active
  244. and the screen contents will be checked on spelling. All unknown words will be
  245. high-lighted or get the colour "COLORNR". By putting the cursor on the wrong
  246. word and using the key combination ALT 2 or  ALT @, DOSPELL will give
  247. proposals. Those proposals will appear in a window. From those proposals one
  248. could be selected and the word will be written to the keyboard buffer. This
  249. will insert the word in the editor or word processor on the place of the
  250. cursor. The maximum length is due to limitations of the PC keyboard buffer
  251. limited to 15. Depended if insert is on or off the word will be overwritten or
  252. inserted.
  253.  
  254. * If the part of the left of the cursor is spelled correct, DOSPELL will write
  255.   only the right part of the word to the keyboard buffer.
  256.  
  257.   Example:         COMPUTTER
  258.                         -
  259.                         ^
  260.                         |
  261.                         | Cursor
  262.  
  263.         After selection of the word COMPUTER only "ter" will be written
  264.         to the keyboard buffer. Result: COMPUTERTTER.
  265.  
  266.  
  267.  
  268.  
  269. In the resident mode only the option M = More works is available. If not all 
  270. proposed words fit inside the window, DOSPELL will display more proposals 
  271. after pushing M.
  272.  
  273. By pushing the key combination ALT-0 or ALT-) , unknown words can be added to 
  274. the personal dictionary PERS_DIC. This is an ASCII file and can be modified 
  275. later. The dictionary PERS_DIC will be created/used inside the path where
  276. DOSPELL was made resident.
  277.  
  278.  
  279. Attention colour at resident use.
  280. ------------------------------------
  281.  
  282. If DOSPELL can not find the word inside the dictionary, the colour of the word 
  283. will be changed. This colour is default high-lighted, but any colour could be 
  284. used. Making the words high-lighted is done by changing bit 3 of the colour 
  285. attribute. To avoid that the colours of the editor are changed, use only bits
  286. which are not in use. For example if the normal background is blue = bit 4,
  287. red and green should be used (bit 6 and 5). Colours are made according the
  288. following attribute table:
  289.  
  290.  
  291.                   Bit
  292.  
  293.             7 6 5 4 3 2 1 0
  294.             ---------------
  295.             1 . . . . . . .   Blinking text.
  296.             . 1 . . . . . .   Red component background.
  297.             . . 1 . . . . .   Green component background.
  298.             . . . 1 . . . .   Blue component background.
  299.             . . . . 1 . . .   Intensity text.
  300.             . . . . . 1 . .   Red component text.
  301.             . . . . . . 1 .   Green component text.
  302.             . . . . . . . 1   Blue component text.
  303.  
  304.  
  305.  
  306.  
  307. Example:      2 to the power 6 = 64 gives a red background. (SPEL R 64)
  308.               2     ,,       7 = 128 gives blinking words.  (SPEL R 128)
  309.  
  310. A resident installed DOSPELL can only be removed, by resetting the computer or 
  311. by separate utilities as MARK and RELEASE, made by Turbopower.
  312.  
  313.  
  314. Testing of type of video card is done only ones after loading DOSPELL 
  315. resident. Therefore do not change the video mode e.g. HGC to VGA after 
  316. installing DOSPELL resident. 
  317.  
  318.  
  319. Active keys
  320. -------------
  321.  
  322. Default Hot_keys in the resident mode are alt-1, alt-2 and alt-0. This can be 
  323. modified by the following command line:
  324.  
  325.           SPEL R [colour] [KEY1] [KEY2] [KEY0] [Language]
  326.  
  327.  
  328. KEY1 is used instead of the default alt-1, KEY2 instead of alt-2, KEY0 instead
  329. of alt-0. The added utility READKEY.EXE can be used to find the scan codes of
  330. alternative keys. Only the scan codes with a karakter code 0 (decimal code)
  331. can be used.
  332.  
  333. Example:  SPEL R 8 59 60 68
  334.  
  335. The keys alt-1, alt-2 and alt-0 are replaced by the function keys
  336. F1, F2 and F10. Colour 8 is equal to the default colour "High_lighted".
  337.  
  338.  
  339.  
  340. -----------------------------------------------------------------------------
  341.                 1.3 Dictionary change.
  342. -----------------------------------------------------------------------------
  343.  
  344.  
  345. Via the opening menu an other language can be chosen. The default language can
  346. be changed with the program INSTALL.EXE.
  347.  
  348. Additional for the de resident mode, the language can be defined in the
  349. command line.
  350.  
  351. Examples:      SPEL R 8 59 60 68 UK
  352.                SPEL R 8 UK
  353.                SPEL R UK
  354.  
  355.  
  356.  
  357. -----------------------------------------------------------------------------
  358.                 2   Additional information.
  359. -----------------------------------------------------------------------------
  360.  
  361.  
  362. Making a good dictionary takes time. By sending your personal dictionary
  363. "PERS_DIC" to me, you will help to improve the program. Any small dictionary
  364. is welcome. If possible, check your dictionary on spelling.
  365.  
  366. Send it to:
  367.  
  368.  
  369.      Han Kleijn
  370.      Geldersestraat 66
  371.      3011 MP Rotterdam
  372.      The Netherlands.
  373.  
  374. -----------------------------------------------------------------------------
  375.                 2.1 Type of dictionary.
  376. -----------------------------------------------------------------------------
  377.  
  378. In version 3.70, a type number is added to the index file MAIN_IND. This
  379. to prevent compatibility problems.
  380.  
  381. If the program gives the following error:
  382.  
  383. Not type 2  MAIN_IND file, ==>    1) Use newer type of dictionary.
  384.                               of  2) Export dictionary to E-ASCII file,
  385.                                      sort this file with SORTBIG.BAT and
  386.                                      SPEL-S.EXE till level 3 or higher and
  387.                                      make a new dictionary from this file
  388.                                      with the latest SPEL.EXE.
  389.  
  390.  
  391.  
  392.  
  393.  
  394. -----------------------------------------------------------------------------
  395.                 2.2 Making a dictionary.
  396. -----------------------------------------------------------------------------
  397.  
  398. The dictionary of DOSPELL consists of maximum three parts. The main dictionary 
  399. MAIN_DIC with index file MAIN_IND, the RAM dictionary RAM_DIC with the most 
  400. popular words and a personal dictionary called PERS_DIC. This last dictionary
  401. contains the words added with the A or ALT-0 commando. This last dictionary is 
  402. the only one which can be modified directly with an ASCII editor.
  403.  
  404. After starting the program, the RAM_DIC, MAIN_IND AND PERS_DIC are loaded into 
  405. the memory. To find a word, DOSPELL will search first into in the RAM_DIC. 
  406. This dictionary contains around 2000 of the most popular words. If the word is 
  407. not find it will search in PERS_DIC and finally in MAIN_DIC. If the word is 
  408. still not found it will make with sound_alike routines proposals from PERS_DIC
  409. and MAIN_DIC. See chapter 2-2.
  410.  
  411.               
  412. Added words (A commando or ALT-0 key) will be placed in PERS_DIC. The size of 
  413. this PERS_DIC together RAM_DIC is limited to 32 Kbyte. The size of RAM_DIC is 
  414. around 16 Kbyte. Therefore 16 Kbyte is left for PERS_DIC equals 2000 words.
  415.  
  416. If PERS_DIC becomes to big, the speed of the spelling will decrease. The  
  417. words should than be added to MAIN_DIC with the AM option or with option 1 of
  418. the "Dictionary Maintenance" menu. With this option an unsorted ASCII file can 
  419. be added to MAIN_DIC. This is irreversible, therefore check all the words on 
  420. spelling first.
  421.  
  422. The maximum size of the file to add is limited to 32 Kbyte. If a big file 
  423. should be added, split it into pieces. The maximum length of lines is limited 
  424. to 255 characters long. Words which are already inside MAIN_DIC will be
  425. skipped.
  426.  
  427. An other possibility is the use of the program SPEL-S. Write MAIN_DIC to a 
  428. standard ASCII file. (see Menu). Add the new words and sort the file with 
  429. SPEL-S till level 30 or higher. To speed up the process, make first a RAM DISK 
  430. with the DOS program  VDISK.SYS or RAMDISK.SYS
  431.  
  432.  
  433. Example how to create ram disk:   In config.sys   DEVICE=\DOS\VDISK.SYS 480
  434. of 480 Kbyte.
  435.  
  436.  
  437. This gives a ram disk of 480 Kbyte and the drive letter become(s) D: (if the
  438. last drive is C:) This will leave very limited space for other programmes, 
  439. therefore keep a bootable DOS floppy ready in case you run out of memory and 
  440. config.sys should be modified again. The disk space needed by SPEL-S is at 
  441. least 2.5 times larger then the size of the file to sort.
  442.  
  443. Example:       From D: drive      D:\>c:SPEL-s c:ENG 35
  444.  
  445.   (Note original file on C: to save space.)
  446.  
  447.  
  448. An AT computer sorts 40.000 words in one hour. If the file does not fit on the 
  449. ramdisk, use then the batch file SORTBIG.BAT.
  450.  
  451. A other possibility  is the use of a disk cache. E.g. SMARTDRV.EXE of
  452. windows 3.1. This improves the performance of SPEL-S.EXE a lot.
  453.  
  454.  
  455. If a new RAM_DIC should be made, use the program LEARN.EXE to find the most 
  456. popular words. The LEARN.EXE program will collect words and place the most
  457. popular words in the beginning of the created file LEARN.LLL. If the most 
  458. popular words come first it will speedup DOSPELL. Collect as much as possible 
  459. words to make a good typical.
  460.  
  461.  
  462. Example:
  463.          LEARN *.* U
  464.  
  465.  
  466.  
  467. The words will be collected an placed inside the file LEARN.LLL. This can take 
  468. some hours. When finished, take out the 2000 most popular words and check 
  469. their spelling. Remove all words with capital letters like "England". Capital
  470. letter information is lost inside the RAM_DIC ! They should be inside 
  471. MAIN_DIC.
  472.  
  473. Important: The capital letter information goes lost inside RAM_DIC and
  474.            PERS_DIC. Remove therefore all words with capital
  475.            letters like countries names and own names from RAM_DIC.
  476.  
  477.  
  478.  
  479. -----------------------------------------------------------------------------
  480.                 2.3 Technical info.
  481. -----------------------------------------------------------------------------
  482.  
  483. The file RAM_DIC contains an index of 26 positions that indicates
  484. where words starting with the letter A, B,..... are placed. The file contains 
  485. no hard enter.
  486.  
  487. The file MAIN_DIC starts with a comment field of 100 bytes prior to actual 
  488. dictionary. Due to the fact that the words are sorted in alphabetical order, 
  489. an very effective compression method is possibly. This method reduces the size 
  490. till around 37 % of the original size. The compression method is based on the 
  491. fact that successive words are very similar. 
  492.  
  493.  
  494. Example 1:
  495.                COMPUTER COMPUTERS.
  496.  
  497.  
  498. The second word can be made from the first 7 letters of the first word plus S.
  499. This could be written as COMPUTERS7S.
  500.  
  501.  
  502. Example 2:     LOVE LOVER LOVING LOWER ==> LOVE4R3ING2WER
  503.  
  504.  
  505. The capital letter information is stored behind the word. Character 169 means 
  506. that the first letter was a capital. Character 170 means that all letters 
  507. where capital.
  508.  
  509.  
  510. The size of MAIN_DIC file is limited to  64 Kbyte * 32 equals 2 Mbyte. This 
  511. means that the maximum amount of words is 400.000 words.
  512.  
  513.  
  514.  
  515. Build up output of LEARN.EXE  (LEARN.LLL):
  516.  
  517.             
  518.                           
  519.               18946            <= Total examined population.
  520.             --------------
  521.               808 the           <= "THE"   808 times found.
  522.               264 of            <= "OF"    264 time found.
  523.               247 in
  524.               239 to      
  525.               221 is      
  526.               173 and     
  527.               163 be      
  528.               112 project 
  529.               106 data    
  530.               ... .....   
  531.                           
  532.  
  533.             
  534. Note, I you want to add more words, be sure that after editing LEARN.LLL, all
  535. words start at position 7.
  536.  
  537.  
  538. Automatically word correction in resident mode:
  539. ---------------------------------------------
  540.  
  541. DOSPELL writes the words to the key board buffer of the BIOS. This is normal 
  542. placed at address $0040:001E and has a length of 15+1 "words". DOSPELL first 
  543. puts the buffer start pointer at $0040:001A to the beginning of the buffer.  
  544. Then it writes the words away and places the end pointer= $0040:001C on the
  545. new end position of the buffer.
  546.  
  547. Dospell reacts on two keyboard interrupts: INT $16, AH = $0 and INT $16,
  548. AH = $10.
  549.  
  550.  
  551. Resident checking:
  552.  
  553. Prior to resident installation, DOSPELL checks first via interrupt 11h, 
  554. CX=$0059) if it is already loaded into the memory. (CX is normally not used). 
  555. If not it will be loaded and interrupt 11h will be redirected.
  556.  
  557.  
  558.  
  559. Capitalised letters:
  560. -------------------
  561.  
  562. Dospell will detect words with capital letters. It recognise only two types. 
  563. The first letter of the word is capital or all letters are capital. All words 
  564. added to the PERS_DIC are stored in lower case. This is done, to be able to 
  565. add words written in the beginning of sentence. They will normally be written
  566. without an capital letter.
  567.  
  568.  
  569.  
  570.  
  571. Letters y, ÿ, IJ and Y:
  572. ----------------------
  573.  
  574. Dospell makes distinction between two groups:  1) ÿ, ij and IJ
  575.                                                2) y and Y
  576.  
  577.  
  578.  
  579. Special characters:
  580. -------------------
  581.  
  582. Version 3.xx recognises characters above 127. If this is an undesirable 
  583. feature just export your main dictionary to standard 7 bit ASCII and import it 
  584. back. All character above 127 will be translated to similar characters ASCII 
  585. characters.
  586.  
  587. Note: All words starting with special characters are stored as they
  588.       where starting with "x".
  589.  
  590.  
  591. DOSPELL uses the following index and filter tables:
  592.  
  593.      letter2                      : array[0..255] of char=(
  594. #96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,#96,
  595. #96,#96,#96,#96,#96,#96,#96,#96,#96,#96,'x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x',
  596. 'x','x','x','x','x','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y',
  597. 'z','x','x','x','x','x',#96,'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w',
  598. 'x','y','z','x','x','x','x','x','x','u','e','a','a','a','a','x','e','e','e','i','i','i','a','a','e','a','a','o','o','o',
  599. 'u','u','y','o','u','x','x','x','x','x','a','i','o','u','n','n','x','x','x',#96,#96,'x','x','x','x','x','x','x','x','x',
  600. 'x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x',
  601. 'x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','b','x','x','x','x','x','x','x','x','x','x','x','x','x','x',
  602. 'x','x','x','x','x','x','x','x','x','x','x','x','x','x','x',#96);
  603.  
  604.      letter                         : array[0..255] of char=(
  605. '*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*',
  606. '*','*','*','*','*','*','*','*','*',#39,'*','*','*','*','*','-','*','*','*','*','*','*','*','*','*','*','*','*','*','*',
  607. '<','*','>','*','*','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y',
  608. 'z','*','*','*','*','*','*','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w',
  609. 'x','y','z','*','*','*','*','*','ç','ü','é','â','ä','à','å','ç','ê','ë','è','ï','î','ì','ä','å','é','æ','æ','ô','ö','ò',
  610. 'û','ù','ÿ','ö','ü','ç','£','¥','₧','ƒ','á','í','ó','ú','ñ','ñ','ª','º','¿','*','*','½','¼','¡','*','*','*','*','*','*',
  611. '*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*',
  612. '*','*','*','*','*','*','*','*','*','*','*','*','*','*','α','ß','Γ','π','Σ','σ','µ','τ','Φ','Θ','Ω','δ','∞','φ','ε','∩',
  613. '*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*');
  614.  
  615. The last table can be changed with the program INSTALL.EXE.
  616.  
  617.  
  618. ASCII file:
  619. ----------
  620.  
  621. This is a file with an hard  carriage return (Character 13) and line feed 
  622. (Character 10). Line length maximum 254 characters long. 1) When the length is
  623. longer then 160, high-lighting will not work proper.
  624.  
  625.    1) Version 3.70 and later can handle lengths longer then 255 characters.
  626.  
  627. The used sound alike routines:
  628. -----------------------------
  629.  
  630. FUNCTION KLANK(zoek:string):string;  {find downcase}
  631.  {bepaald klank, d.w.z. klinkers plus volgend letter}
  632.  {voorbeeld automaten wordt    auomat}
  633.  {          mogelijkheid wordt ogelij}
  634.  {          vernederen         ereder}
  635.  {          verwijderen        erijer}
  636.  {          kado               ado***}
  637.  {          kados              ados**}
  638.  {          salade             aladen}
  639.  {          salades            aladen}
  640. const
  641.      soundt     : array[39..166] of char=(
  642. '*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*','*',
  643. '*','*','*','*','*','a','*','*','*','e','*','*','*','i','*','*','*','*','*','o','*','*','*','*','*','u','*','*','*','y',
  644. '*','*','*','*','*','*','*','a','*','*','*','e','*','*','*','i','*','*','*','*','*','o','*','*','*','*','*','u','*','*',
  645. '*','y','*','*','*','*','*','*','*','u','e','a','a','a','a','*','e','e','e','i','i','i','a','a','e','*','*','o','o','o',
  646. 'u','u','y','o','u','*','*','*','*','*','a','i','o','u','n','n','*');
  647.  
  648. {Neem alleen de letters A,E,I,O,U en Y mee en vervang    en ... door E, Y...}
  649.  
  650. var
  651.    l,m   : byte;
  652.    w     : char;
  653.  
  654. begin { MADE FOR SPEEEEEED ! }
  655.   l:=1;
  656.   m:=1;
  657.   klank:='******';
  658.   zoek[0]:=succ(zoek[0]);{snelle manier voor zoek:=zoek+'*'}
  659.   zoek[ord(zoek[0])]:='*'; {DUMMY}
  660.   repeat
  661.     w:=soundt[ord(zoek[L])];
  662.     if w<>'*' then
  663.     begin
  664.       klank[m]:=w;
  665.       inc(l);
  666.       klank[m+1]:=zoek[L];
  667.       inc(m,2);
  668.       if m>6 then
  669.       begin
  670.         if ((zoek[L]='*') or (zoek[L]='s')) then
  671.         klank[6]:='n';
  672.         {maak standaard meervoud bij lange lengten}
  673.         exit;
  674.       end;
  675.     end;
  676.     inc(L);
  677.   until L>length(zoek);
  678. end;
  679.  
  680. FUNCTION BIJNAGELIJK(ZOEK:string;ref:string):boolean;{ref=referentie, zoek is het gevonden woord}
  681. var i,eq : byte;
  682.     tussen : string[39];             {voorbeeld ref:=some} {bijna gelijk voor zoek:=..}
  683.  
  684. begin
  685.  ref[1]:=letter2[ord(ref[1])];  {downcase ref voor geval bv Indi        }
  686.  if length(zoek)<length(ref) then     {som,soe,sme,ome}
  687.  begin
  688.    zoek[length(zoek)+1]:=' ';
  689.    i:=0;
  690.    repeat
  691.      inc(i)
  692.    until ((zoek[i]<>ref[i]) or (i>length(zoek)));
  693.    delete(ref,i,1);
  694.    if zoek=ref then
  695.    bijnagelijk:=true
  696.    else bijnagelijk:=false;
  697.    exit;
  698.  end
  699.  else
  700.  if length(zoek)>length(ref) then    {*some,s*ome,so*me,.....}
  701.  begin
  702.    ref[length(ref)+1]:=' ';
  703.    i:=0;
  704.    repeat
  705.      inc(i)
  706.    until ((zoek[i]<>ref[i]) or (i>length(ref)));
  707.    delete(zoek,i,1);
  708.    if zoek=ref then bijnagelijk:=true else bijnagelijk:=false;
  709.    exit;
  710.  end
  711.  else
  712.  begin {lengte equal}     {Xome,sXme,soXe,somX}
  713.    eq:=0;
  714.    for i:=1 to length(zoek) do if zoek[i]=ref[i] then inc(eq);
  715.    if eq>=length(ref)-1 then bijnagelijk:=true else bijnagelijk:=false;
  716.    exit;
  717.  end;
  718. end;
  719.  
  720.  
  721.  
  722. Other programmes
  723. ----------------
  724.  
  725. I also have made the DO utilities.  The DO utilities contain now:
  726.  
  727.  
  728. - DO.EXE      version 6.5             First/general program.
  729. - DOE.EXE     version 2.1             DO Executor, with a tree window/menu.
  730. - DOMOVE.EXE  version 1.2             Moves files with disk full check.
  731. - DOCOPY.EXE  version 2.11            Copies + backup only new files.
  732. - DOF.EXE     version 1.7             DO Find utility for LZH,ARC,PAK,ZIP
  733.                                       and ZOO archives and standard files.
  734. - DC.EXE      version 1.0             DO Change directory.
  735. - NO-VGA.COM  version 2.0             Eliminates VGA features of multimode
  736.                                       video adaptors.
  737. - DOTEXT.EXE  version 1.0             DO Textmode adjust program.
  738. - DOTIMER.EXE version 1.1             Program to determine elapsed runtime.
  739. - DOCALC.EXE  version 2.4             Scientific calculator.
  740. - DOCALC.DOC                          Dutch doc file for docalc.
  741. - DOC.EXE     version 1.13            Scientific calculator. (command line)
  742. - DOCOLOR.EXE version 2.0             Additional for adjusting colors
  743. - DOPASS.EXE  version 1.01            Password protection for the pc.
  744. - DOLOG       version 1.0             Time/date file log utility
  745. - DOM-10.COM  version 1.0             Conversion between ZIP ARC PAK LZH.
  746. - DOCATCH.EXE version 1.0             Catch text from screen.
  747. - DODOS.EXE   version 1.1             Executes DOS instruction with every file
  748.                                       from selected file list.
  749.  
  750.  
  751.  
  752.  
  753.